package com.lagou.edu.feignclient;

import org.springframework.stereotype.Component;

@Component
public class EmailFallBack implements EmailFeignClient{
    @Override
    public boolean sendEmail(String email, String code) {
        //直接返回false
        System.out.println("...............................直接降级：直接返回false");
        return false;
    }
}
